Repository navigation
docs(adr): ADR-0084 records the ~org Changes + Publish home in the homes table - #37927
Conversation
…p bar's homes table The package-less ~org scope draws no 概览 Overview, so the pending-changes button and Publish, which the 2026-11-26 amendment sends to 概览's Pending tab, live there in the left column's Changes row (StudioScopePendingRow), which opens the existing changes sheet. One row and one dated mark; no other row changes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzqYghcpTQ2yaJPJbE
|
repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978 Contract reviewServed-tier: PR #37927 for card #37685. The diff is one file, +3 −0: one table row and one dated mark in ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
The row:
The mark:
Tried to break it:
No must-fix, no should-fix. Nits, both left as accepted deviations (a fix would move this head):
Check-runs on this head, read at review time:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978 L1-b, the seat's L1 thread for zone o3-studio · 2026-11-27T11:57Z 席位核对 — L1 ACCEPT @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-27T12:00Z.
席位意见:可以合。我读了这 3 行 diff 和契约审核对每一句事实的核对:「只在 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU 维护者速读
|
Requested by Tesla · project thread
Fixes #37685
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
One file,
docs/adr/0084-application-builder-information-architecture.md, +3 lines, nothing removed:#amendment-2026-11-26-homes("Where the top bar's controls go"), directly under the pending-changes row: on the package-less~orgscope, which draws no 概览 Overview, the pending-changes button and Publish live in a 变更 Changes row with its count in the left column (StudioTopLeft.tsx#StudioScopePendingRow), drawn only while that scope has something pending; it opens the existing changes sheet, which holds Publish. Its "By" column readsnot ruled.*(Amended 2026-11-27, card #37685: …)*form: why the row exists (the pick sends Changes + Publish to 概览,~orghas none), that it was built first by the top-bar removal (App Studio 改版(1-5):去掉 Studio 顶栏改左右两栏——左上角两行(标志加折叠;返回加软件包切换器和「新建软件包」)、只读小锁、折叠窄栏 #37456, PR feat(studio): Studio's top-left rows, the package switcher and the rail #37579) and is recorded after the fact as that change's contract review asked (comment 7202356468, finding S3), and that no other row changes.Not in this PR: the seat's widening comment also asked to turn the type → group table's
datasourcerow into a no-row entry. That half is withdrawn (claim comment 7217220011):studioMenuPlacement.test.tsties each table row to the code's placement list, so the row moves with the code card that removes the menu row, as #37564 did.Why
ADR-0084's 2026-11-26 amendment sends Changes + Publish to 概览's Pending tab. The package-less scope has no 概览, so the shipped code gave it a row of its own, and the ADR did not record that home. A later reader following the ADR could remove the row.
Tests
Read at
origin/main73d5e347, the code the row is written from:ui/packages/app-shell/src/views/studio-design/StudioTopLeft.tsx:84StudioScopePendingRow: a button labelledengine.studio.changes(en "Changes", zh 变更) with a count pill; drawn under the package row (:169) and as an icon on the rail (:160).ui/packages/app-shell/src/views/studio-design/StudioSurfaceFrame.tsx:210-219: passed only whenpackageId === null && !allScope && shownPendingCount > 0, so on~orgalone and only while something is pending; it opens the changes sheet (DraftChangesPanel, :243-256) with Publish.Local gates on head
062fc62c, exit codes captured before any pipe:ADR gates
node scripts/check-adr-symbol-anchors.mjs→ 0 (4475 anchors across 164 records resolve; both new symbol anchors resolve as declarations)node scripts/check-adr-links.mjs→ 0 (1263 relative links resolve)node scripts/check-adr-anchors.mjs→ 0node scripts/check-nul-bytes.mjs→ 0--check→ 0 (drafter's run)ADR_ROWinstudioMenuPlacement.test.ts) matches 33 lines before and after the edit, the same rows byte for byte; the new lines match 0 times.NOT MEASURED locally:
studioMenuPlacement.test.tsitself and the doc-authoring families (nonode_modulesin this container). CI runs them; the regex reading above is why the pin test is expected green.Acceptance notes
datasourcerow of the same table): the dated notes under the type → group table still read "33 entries" and "AI 4", while the table now has 34 rows and AI 5; theknowledge_sourcerow (added by feat(spec,service-knowledge)!: knowledge_source is a governed metadata type with its loader, its registry and two authoring guards #37676) cites item 6, which names onlyai_context, and carries no dated mark.~orgentry) is not written, since no ruling says it.Verification
Read first: the new row under the pending-changes row in
#amendment-2026-11-26-homes, then the dated mark under the table. Two-minute check:node scripts/check-adr-symbol-anchors.mjsprints the green line; open Studio on~orgwith a pending flow draft and see the Changes row in the left column open the changes sheet with Publish.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (CI)main, one pull request.docs/adr/**does not publish:skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibzqYghcpTQ2yaJPJbE
Generated by Claude Code